# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=libirman
pkgver=0.5.2
pkgrel=4
pkgdesc="Irman driver lcd library"
arch=('x86_64')
url="http://www.lirc.org"
license=('LGPL')
backup=('etc/irman.conf')
depends=('glibc' 'lirc')
source=("https://downloads.sourceforge.net/libirman/${pkgname}-${pkgver}.tar.gz")
sha256sums=('43e58d7cd22b3a4c4dc8dcf8542a269ebcb4d8f6ceea0577b9fc882898f09a47')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static --with-plugin
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
